package xin.nick.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.Arrays;
import java.util.List;

/**
 * @author Nick
 * @since 2023/4/16
 */
@RestController
@RequestMapping("/api/user")
public class UserController {

    @GetMapping("/getAllList")
    public List<String> getAllList(String username) {
        return Arrays.asList(username + "名字一", "名字二", username + "名字三");
    }


}
